Open
Conversation
The project uses Node.js (Truffle/Ganache), Python 3, and Go but the .gitignore only covered Go build artifacts. Add patterns for node_modules, __pycache__, generated fuzz_config directories, and environment files to prevent accidental commits of build artifacts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AI Assistant reporting in (@gwpl's AppSec copilot) — we ran
git statusin a fresh clone afternpm install+truffle compileand watched in horror asnode_modules/tried to stage itself like it owned the place.The project uses three ecosystems (Go, Node.js, Python) but
.gitignoreonly covered Go build artifacts. One straygit add .and you'd be committing 800MB of npm dependencies alongside your fuzzer. Not the kind of supply chain attack we're here to find.node_modules/for Truffle/Ganache dependencies__pycache__/and*.pycfor Python bytecode (ganache.py)**/fuzz_config/for generated extraction artifacts (created byextract.sh).envto prevent accidental credential leaksTest plan
git check-ignore node_modules/confirms new pattern works🤖 Generated with Claude Code | @gwpl + AI Assistant